package cn.hengzhu.main_manager.repository.dao;

import cn.hengzhu.main_manager.repository.domain.Customers;
import cn.hengzhu.main_manager.repository.domain.CustomersExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CustomersMapper {
    /**
     *
     * @mbg.generated
     */
    long countByExample(CustomersExample example);

    /**
     *
     * @mbg.generated
     */
    int deleteByExample(CustomersExample example);

    /**
     *
     * @mbg.generated
     */
    int deleteByPrimaryKey(Integer cusId);

    /**
     *
     * @mbg.generated
     */
    int insert(Customers record);

    /**
     *
     * @mbg.generated
     */
    int insertSelective(Customers record);

    /**
     *
     * @mbg.generated
     */
    List<Customers> selectByExample(CustomersExample example);

    /**
     *
     * @mbg.generated
     */
    Customers selectByPrimaryKey(Integer cusId);

    /**
     *
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") Customers record, @Param("example") CustomersExample example);

    /**
     *
     * @mbg.generated
     */
    int updateByExample(@Param("record") Customers record, @Param("example") CustomersExample example);

    /**
     *
     * @mbg.generated
     */
    int updateByPrimaryKeySelective(Customers record);

    /**
     *
     * @mbg.generated
     */
    int updateByPrimaryKey(Customers record);
    
    List<String> getUserByTime(@Param("compId") Integer compId,@Param("startTime") String startTime,@Param("endTime") String endTime);
}